package com.event.example.mybatis;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.event.common.annotation.RepoNameSpace;
import com.event.common.annotation.RepoTableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("jjjshop_tag")
public class Tag implements Serializable {
    private static final long serialVersionUID = 1L;

    @RepoTableId(dbIdName = "tag_id")
    @TableId(value = "tag_id", type = IdType.AUTO)
    private Integer tagId;

    private String tagName;

    private Integer appId;

    private Date createTime;

    private Date updateTime;

}